/*=============================================================================
**                                  
**                      Proprietary - Copyright (C) 2013
**-----------------------------------------------------------------------------
** Supported MCUs      : <ARM / MCU independent>
** Supported Compilers : <Keil C / compiler independent>
**-----------------------------------------------------------------------------
** File name         : Button.c
**
** Module name       : Button
**
**
** Summary: __________________________
**
**= History ====================================================================
** 1.00 11/7/2013  Cuong Chu
** - Creation
==============================================================================*/

/******************************************************************************/
/* INCLUSIONS                                                                 */
/******************************************************************************/
#include "button.h"

/******************************************************************************/
/* VERSIONS CHECKS                                                            */
/******************************************************************************/

/******************************************************************************/
/* DECLARATION OF VARIABLES OF MODULE                                         */
/* Declaration of local variables shall have the specifier STATIC             */
/******************************************************************************/

/*****************************************************************************/
/* DECLARATION OF LOCAL FUNCTIONS (Internal Functions)                       */
/* Declaration of local functions shall have the specifier STATIC            */
/*****************************************************************************/

/*****************************************************************************/
/* DEFINITION OF GLOBAL FUNCTIONS (APIs, Callbacks and MainFunction(s))      */
/*****************************************************************************/
/******************************************************************************
** Function name: BUT_ReadInput1(void)
** Description: The function return value of button 0
** Parameter X : None
** Return value: None
** Remarks: global variables used, side effects
******************************************************************************/
uint8_t BUT_ReadInput1(void)
{
  return IO_read(BUT1);
}
/******************************************************************************
** Function name: BUT_ReadInput2(void)
** Description: The function return value of button 0
** Parameter X : None
** Return value: None
** Remarks: global variables used, side effects
******************************************************************************/
uint8_t BUT_ReadInput2(void)
{
  return IO_read(BUT2);
}
/******************************************************************************
** Function name: BUT_ReadInput3(void)
** Description: The function return value of button 0
** Parameter X : None
** Return value: None
** Remarks: global variables used, side effects
******************************************************************************/
uint8_t BUT_ReadInput3(void)
{
  return IO_read(BUT3);
}

/*****************************************************************************/
/* DEFINITION OF LOCAL FUNCTIONS (Internal Functions)                        */
/* Declaration of local functions shall have the specifier STATIC            */
/*****************************************************************************/




/************************* End of File ******************************************/


